<?php get_header(); ?>
<!--当前位置-->

<div class="crumb"><a href="/">首页</a> &gt; <?php $categorys=get_the_category(); $category=$categorys[0]; echo(
get_category_parents($category->term_id,true,' &gt; ') ); ?><span><?php the_title(); ?></span></div>

<!--当前位置 End-->

<!--Container-->
<div id="container">
	<!--Content-->
	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
	<div id="content">
	
		<!--content_text-->
	
		<div class="content_text2">
	
		<div class="title">
	
		<a href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>" class="avatar"><?php echo get_avatar( get_the_author_email(), 43 ); ?><span><?php echo get_avatar( get_the_author_email(), 43 ); ?></span></a>
	
		<i class="line_h"></i>
	
		<h3><?php the_title(); ?></h3>
	
		<p><a href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>" target="_blank"><?php the_author_meta('display_name'); ?></a> / <?php the_category(', '); ?> / <?php the_time('Y.m.d');?> / <?php the_tags( '相关标签 ', ', '); ?></p>
	
		<a onfocus="this.blur()" class="up" href="<?php the_permalink() ?>#comments"><?php comments_number('0', '1', '%' );?></a>
	
		</div>
	
		<!--content_banner-->
		<?php $postimg = get_post_meta($post->ID, "postimg_value", true); $postimg = trim(strip_tags($postimg)); ?>
		<div class="content_banner">
		<?php if(!empty($postimg)){ ?>
		<a href="<?php the_permalink() ?>"><img src="<?php echo $postimg; ?>"/></a>
		<?php } ?>
		<div class="text">
		<?php the_content(); ?>
		</div>
	
		
	
		<!--appendInfo-->
	
		<div class="appendInfo">
	
		<ul>
	
		<li class="come_from">(<span>本文出自<?php bloginfo('name'); ?>，转载时请注明出处</span>)</li>
	
		<li class="share" onmouseover="share_more(<?php the_ID(); ?>,this);"><a href="javascript:;">分享到...</a></li>
	
		</ul>
	
		<div class="lr"><span class="left"><?php previous_post_link('&lt; %link','%title'); ?></span> <span class="right"><?php next_post_link('%link &gt; ','%title'); ?></span></div>
	
		</div>
	
		</div>
		
		<div class="comment" id="comments">
		<?php comments_template(); ?>
		</div>
	
		<script>
		postArray[<?php the_ID(); ?>]=[];
		postArray[<?php the_ID(); ?>][0]="<?php the_title(); ?>  ";
		postArray[<?php the_ID(); ?>][1]="<?php the_permalink() ?>";
		postArray[<?php the_ID(); ?>][2]="　　<?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 250, "…"); ?>";
		postArray[<?php the_ID(); ?>][3]="<?php echo $postimg; ?>";
		</script>    </div>
	
		<!--content_text End-->
	
	
	
	</div>
	<?php endwhile;?><?php endif; ?>
	<!--Content End-->

	<?php get_sidebar(); ?>
</div>
<!--Container End-->

<?php get_footer(); ?>